New edit destroy group

@martijnrusschen fixes #17 fixes #18 fixes #19
why two ifs?