Adjust task proxy state after commands as well as on spawning.

Commands can set a stop time that may be require holding waiting tasks.
Tasks should propagate private stop cycles themselves, in spawning.
A more appropriate temporary var name.
No need for the hold check on spawning now.
Fix previous for the purge algorithm.
Merge pull request #656 from hjoliver/better-stop-cycle-check

Better stop cycle check