DO NOT MERGE - FOR INTERNAL CODE REVIEW ONLY

```instanceMainWithExit``` - make sure that MarkDuplicates does the same