added first GLSL code, moved some graphics functions around, and adjusted some existing shader parser code