added duplicate removal

resolves issue #12

I had originally built it into the loop below, but it got really ugly. Having it outside is much cleaner, however will add 1 iteration through tabs, but this should be ok.

built as a config - default to not allow duplicates - (as it works easily as one, and maybe there might be a need for some ppl?), but if you think this is never necessary it can be removed.