Added the ability to specify a LINES_BUFFER_SIZE to control how many
lines are stored in the tcl buffer at any given time. Also fixed
dragging the scrollbar to work in all cases. Also fixed fast scrolling
reaching the bottom of the tcl buffer.