check file load errors; add matrix stack uniforms