add state tracking for texgen R, Q
implement gl{Load,Mult}TransposeMatrix
fix texgen state initialization