Add a double-click handler for items in the editor window.
Make double-click on marker pop up rename dialogue.
Mark session dirty when a marker is renamed.
Double-click on region pops up region properties.
Edit tempo & meter markers on double-click.
Don't allow loop, punch, or session range markers to be renamed.

Don't allow loop, punch, or session range markers to be renamed, even when
double-clicked.