Fix the initial loading of lines and fondling around with requestedLines

This fixes a bug where the initial line loading would be triggered multiple times,
and a bug that incorrectly set requestedLines, causing this behaviour to repeat