some cleanup and fixed bloomery validity check and metallurgy dupe