Minor edit and add pause_events to the dump_stats