added undo and redo actions for merge
in the cluster view, optimized the group assignation process (no more update for each individual group assignment)