Tidy up limiting number of lines of content printed.