'g' element ungrouping rewrited. More simple realization.
Added 'switch' element ungrouping.
0.12% better cleaning.