On-demand loading of textures

Textures don't need to be loaded at the startup anymore.  We can just
load a texture when we find that it doesn't exist.  Also removed random
lighting-related values