Trying the worklist parallel algorithm.
Tiny fixes to output.