Added texture loading etc.