Lots of refinements to the examples to make them more comprehensible.
Also fixed a lot of bugs in the progress monitor visualization code