Slight changes to image/texture loading.