Plotgroups: redesigned add/remove plot detection