Fixed a few small bugs with Smelting.