Refactored GLSLBuffer, improved performance