Dramatically speed up overlay refresh and prune dead packages.