Improved display of print progress, some cleanup.