Removed the GUI and did some various fixes that IDEA recommended.