Started adding a simple gui system

Also fixed some bugs and got 3D lines drawing (first step to visualizing
vectors and normals for debugging)