One "module" you might try using is Se7en's ToggleSnaps function. I've gotten in the habit of using it. I like it because, if a user is hitting escape and does it fast or repeatedly enough, (s)he can even cancel the error trap, thus disabling proper resetting of variables. If this happens, all you have to do is hit F3 and your osnaps are turned back on.