Should fix threading issues.
Merge pull request #2 from boudewijn-tribler/master

Should fix threading issues.