Made tuple convert easier by using a sequence.
Corrected bug task allocation and started honoring run_locally.