Added more CSM code.
Fixed a bug where the program crashed if an image did not use a texture.

Signed-off-by: Strakas <reetopps6@hotmail.com>
Merge branch 'master' of https://github.com/Malow/NDYGFX