Small fixes
Merge branch 'bug_fixes' of https://github.com/qmule/qmule into bug_fixes