Log error when depth tex unit is reused as texture

We bind a sampler when a texture is used as depth, which will
cause unexpected effects when using as a normal texture
Shader: Remove fatal on errors (better for reload)
Merge pull request #63 from ext/misc20131222

Misc changes