Improvements to contour scripts.
Added progressbar with timer and time estimator.