Got rid of unnecessary global state in statreporter