got the GUI to render and fixed some simple things