Do a better job of erasing the stats output line when writing the completion
line.