Fixes custom shaders

-Forgot to get uniforms and attributes for custom shaders.
-Added matrix uniforms to pixel shader prefix as well. Useful for things
like per-pixel lighting.
-Added a better error message for the shader compiler.