Made tasks and anchor volatile to prevent reodering, as in the comments for the pseudocode.
Quicksort doesn't work with any idempotent queues.
Reworked the Raw case to be much more simple, and to use a different termination criteria. Now the Raw case terminates when there are no more children to visit.