Fixed shader resource loader

I fixed the shader resource loader, and fixed some errors in the shaders
themselves.  It is coming along pretty well, but when it fails, it does
not fail gracefully by any means.