Fixes all "TODO: DPRINT" issues.
Merge pull request #1 from boudewijn-tribler/logging

Fixes all "TODO: DPRINT" issues.