Bugfixes and Added GUI

Fixed some bugs, including one that stopped the Controller from working.
Added more code to the GUI, though there seems to be some need for a
Packet Handler to move on.