Stabilize the editor refs so they are not detached and attached on every render, and defer command bar action registration so bursts of store updates do not each re-register actions.