Various fixes.
Merge branch 'master' of https://github.com/Maxima42/whitenight-server