Add markerCleared, markerAdded events

And listen for them in the merge addon.