Beefed up chained task example.

This has become quite convoluted and non-optimal at the same time.

One should really wrap this in a library.

And call it MTMS or so ..

Oh wait ...