Add purge and dump functionality, remove dup caps

This no longer captures duplicate content if the user does the same
thing twice.