First stab at implementing automatic loading of more lines when you scroll up

This PR depends on the nomore branch since it has to know when to not request more lines.