Issue #966 Output stats to console

Bugfix