Fixed a bunch of GUI issues