Little bit more work on stat calculations.
Merge branch 'master' of https://github.com/twostars/snoxd-koserver