Added statistics logs. Fixes #180.