changing keyboard.stop() method to null out listeners after they are rem...

...oved instead of before