IMI-Statistics-update

DONE
- cut log-files from the bottom to last active event for right duration
- improve outputs by max-, avg-, and min-value

TODO
- more statistics.