Optimized multi page downloading algorithm, groundwork for UI improvements.