This may sound a little far fetched - but I wonder if there is some kind of a solution for when you accidentally type one or more shortcut keys, usually because a plugin hasn't taken control of your PC keyboard.
I have a couple of soft synths that do this - and when you forget to click the button that allows the plugin screen to grab keyboard input - you can cause all sorts of havoc, when you think you're typing a preset name, or a parameter number.
I don't know what could be done for this - maybe a little macro to tell you what your last keystrokes were? (so you can type them again, to "undo" the shortcut). It's not always obvious what you have typed - because after the first key or two, you're usually out in SONAR somewhere, and not actually inputting anything any more.
The real SONAR "UNDO" function doesn't really help because that's just for actions that you've done, rather than screwing up your layout or screenset etc.
Does this make sense? It's not easy to explain, but I bet a lot of us have accidentally typed a shortcut key or two, and then have to figure out what we've just done to SONAR - and how to "undo" it.