Moved stuff that needs to be overridden in the GUI to new UI class.