Re #196. The reimplementing texturing, now in correct branch.