Close crafting

Closes crafting and moves cursor if there are no materials being crafted