Clear all collections of groups in preparation for loading a project file.