MaterialLib and some work on the VBO renderer.