improve scrollbox

Factored line buffer out of scrollbox (eventually going to need to serialize it, could be used for other purposes). Now displays a -- more -- prompt if there is too much text to fit in a single window. Input is now interpreted as utf8. Streamlined escape sequences--since this is intended for text, no need for background colors.