finally commiting mapgroup stuff and ui for sortable layers/maps