Fixes so RELEASE builds
Fixes to statistics