Allow overriding parts of the pager output

Provide a, currently pager-only function, way of overriding parts of
a widget's output.
Docs and code cleanup for pager / part