RomkaSwallowtail via tracker; lock

This the fix proposed by Romka Swallowtail to handle the lock in both
states showing if doing a global hide and show. littlemousy added it to
the script in-world and it worked flawlessly. #58 fixed