more changes pending (split TexData and its settings; make tex.cpp wrap its data in Handle; clean up 'is loaded' checks) This was SVN commit r1988.