Make 'save' show an group and ungroup.
Fixed a bug with selecting a material with no selection.