Render models as client side vertex arrays instead of using immediate mode OpenGL calls. Patch reviewed by Cyp.