initial: improve performance adding and removing KeySig
ChangeElement updates keymap for keySig change
Merge pull request #280 from heuchi/keySig_improvements

Fix #20573 and improve performance of KeySig handling