update for init script to make editable groups
groups edit now with co-ordinates and label
made popovers wider - slight code cleanup