Day/night shader works.
Fixed error with EOF character causing crash when loading a shader.