Fixed some small errors with the GUI and parsing