M: further cleanup texture loading, png and tga interfaces are now
minimal