more fixes for line printing/scrolling