Moved ui GUI objects into ui folder within GUI directory to remove clutter.c
Created a restart window object to avoid a full close of the application when a restart closes all other windows.
Made GUI module imports not attempt to import classes, and instead import the module and then call the classes as needed.
Added a default exit_on_close value to avoid errors where it is checked before being called.
added a generic thread class and extended it to allow for the application to keep its state during a restart and therefore not shutdown when all its windows are removed.
removed the graphical restart window in favor of a simple thread.
seperated the system tray and the main window in the commotion client
seperated the system tray from the main window
Changed old signal events to new style and moved them to application control functions.
see: last commit but re: main application code
added exceptions to system tray start and init functions
removed empty extension file from last commit
got system tray connected and working correctly with the main window
split out the single applicaiton classes from the main commotion_client code file
implemented a close function for the system tray to ensure that it is fully cleaned up for the restart.
fixing whitespace
Added an exit function and replaced all existing sys.exit functions with it.
Replaced sys.exit in critical error functions with QApplication.exit which will pass the error message to sys.exit after its clean up anyway.
Made ending the restart thread more indirect
Made main window called more indirectly and gathered main window functions together in the application.