Assign keyboard shortcuts to each window.
Correctly resign window shortcuts.