Updated the GUI to work completely.