VBO and shaders

Lots of changes. Rendering has been switched over to VBOs and shaders.