Initial support towards supporting multiple runs (for parameter uncertainty analysis).

This seems to cause problems with plotting at present.
Fix the bug that was causing graphs not to be drawn