initial fix

problems: this assumes we know what the signal handler was!
Instead of changing the signal handler, we should change how
the cursor diff function behaves.
fix the method instead of the window handler