Avoid selecting a menu item by touch if the conditions aren't met, part 2: Saved state menu improvements.
Prepare data structures for adding hotkeys.