Added a hotfix for shader file trash data. Now reading in a shader file
should not longer get trash data at the end of file.

NOTE: This commit includes debug files, so if you run into a problem,
just delete your debug files.