Pagination improvements. Tweaked frontend.