Add test case for progress bars
Fix clearing of status line on Windows