Set defined (if set undefined just before)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37067 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Prevent stuck to undefined

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37068 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Only one matrix multiplication in vertex shader (web)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37069 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Fix for #4669, also fixes Andy's bug with http://tube.geogebra.org/student/m207093

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37070 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Some updates and fixes


git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37071 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
* GL.initSingleton() only if possible
* GL.initCaps() only when needed

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37072 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e