Took out some dead code.
Made it possible to save and amf to stl while selecting what material will save.