Updated GUI extensively, added error checking to GUI, and fixed some bugs