added menu window that closes with esc