GUI fixes

Fixed most of the GUI so it now displays and updates correctly.