More logging and better exception handling
More caps logging -- max uniforms for vp and fp
Needed for my recent changes
Merge pull request #103 from renaudbedard/develop

Merge back from Renaud