Fix EnderFurnace stops working after certain NEI recipe look ups. (totally my fault, I'm an idiot)

Also cleaned up the furnace code a bit