Fix duplicate check with --output option.
Fix queue end events.
Update archiver.