Write material config to AMF files. Remove the old Materials tab. Update custom settings when a part is selected