new features: minimize on startup and press esc to close window