basic texture mapping and some scene loading cleanup