now esc and window release are working... but ugly on OSX