added first buggy implementations of connectors grouping and popup menus