Various paging fixes.