Remove some extra varray stuff in lua glue, restrict the OpenGL constants only to what's needed to draw primitives, set texture params etc. and remove the gfx/gl.lua file