send back results_being_sent
do not set id and state twice in startTasks()
replace results_being_sent by results_sent
rewrite startTasks()
add waitAllTasks()
add compareTasks()
add getCommand() and getArguments()
adjust ndemanded if necessary