Fixed/improved wavefront and TGA loader.