Utils/progress bar resize

Further fixes to this.  At this point it's not really related to the progress bar anymore, but might as well include it here.  This fixes color printing of unicode strings on Python 2.6 (which was always broken to begin with--the fact that the test framework replaces sys.stdout was just hiding this).