Added Quit command from commandline, menu bar, or window closing event.