record task id in task struct
record currently running tasks and error tasks
DRY
print buildlog to stdout