WIP redo of texture loading
Move debug log