the window now responds to keyboard input