Simple thread uniqueness.
Post-processing for thread uniquness, using desperate hacks.