Added disposing of the keyboard hook