Some OpenGL renderer improvements and fixes

New opengl generator
Fixed interspecting UBOs