If a Web has categories defined, you can delete orphaned pages in a given category (in addition to being able to delete all orphaned pages).
As a side benefit, fix an (non-user-visible) bug in display_s5(). Also fixed a bug where removing orphaned pages did not expire cached summary pages.