Deleted much of the code to reflect how the GUI will operate