Post queued state before sending the task to the taskexecutor. Otherwise
there's a race condition that could result in a lost update.
Fixed percentComplete calculation bug