Removed old code from the GUI