Added aggregate stats
fixed segfault on recover