Gonna test your version, didn't see this thread until now, thanks. Will report on whether it works or not (and if not, why not).
If you find a logical explanation to what happened in this thread, do tell. Something with how it handles savedvariables maybe?
Also updated the libraries for SpellLock and reuploaded it, so it should work again with 5.1 now.