Some work to better texture loading and assigning.