Merge pull request #540 from heuchi/23525_transpose_undo_keysig

23525 transpose undo keysig
fix #23511

bar -> measure
Merge pull request #541 from Jojo-Schmitz/midi_tr

fix #23511
update accidentals of tied back note when tie is deleted
rebased from current master