Default image extension to .tga

Fixes loading of textures with dots in filename
Use doubles where time to FP conversion is involved
Pass identity origin and angles to GLSL for non-model entities