More logging and better exception handling
More caps logging -- max uniforms for vp and fp
Needed for my recent changes