Added Executable
Override closeEvent

Checks whether to save when clicking X in window title bar