Fix material import when it shares a texture
Clean up ImportMaterialsTask

Split the massive "Run" method into smaller methods.