Refactored the GUI and finished integrating the exception handler.