Fix center calculation
Misc
Merge branch 'master' into opengl
Remove samples from fragment shader
Mess around with OpenGL
Clean up init code

Also fix missing attrib enables
Refactor