Group analysis improvements with error catching and model generation.