- [all] fixed a bug concerning initialization of textureunits
- [all] removed hardcoded vertexattrib count