Rewrite of paging/viewer code, fixes #26, fixes #29
Begin update of tag search code