Changes to support OpenGL 2. Now using GLSL 3.0 ES.