new method mgr->AddStatisticsTask() that adds a special framework task to any train...