Improved performance by only re-printing the infoline when necessary.