Cleaned up the GUI application file