Fixed some mem issues that occur with multi-config runs.
Merge branch 'stats_tool'