Three bugfixes

Depends on: https://github.com/Tribler/dispersy/pull/97