More robust context menu actions for the song editor
(ie:  fix hypothetical crashes that I've never actually seen in real life)