The GUI will not crash when closed