Fixed scrolling lines, now window scrolls to accept new line(s)

TODO - add backspace feature
Fixed scrolling lines, now window scrolls to accept new line(s)
Added backspace function, except it causes an error of some sort
I know nobody reads these but if you do could you take a check?