Cleanup clean_name & precalculate it
Fixed a bug where Layer Groups were not traversed