Redid the rendering of objects on the GUI

Now resizable and easier to extend.