Job/tasks worker

This fixes #431 and fixes #447.