Some fixes to the pager.

A bunch of crap!