minor texture loading changes