Make number of rows to prefetch when doing lazy population configuarable

Add a new option to the settings dialog to allow changing the number of
rows to get at a time.