Support for injecting key- and mouse listeners to the window
Key listener to close window and set the fullscreen mode on and off