Fixed stats output and made it a bit more informative (rev. 18)

Signed-off-by: nixnodes <code@eth.si>