Add QUIT to command line, menubar, for window closing event.