Added threading code for task pipeline.
Merge branch 'lightspeed' of github.com:hach-que/Tychaia into lightspeed