Automation of thrall crafting

Here is a thread I started along the same lines. A bit more simplified, but functional.