added shortcuts to main window (ctrl+enter and esc)