Fix SetMaxBackgroundFlushes. Added EnableStatistics.