Fixed crafting and other bugs.

Time to test.