Bug fixes and started work on allow smelter.