The patch here works only for switching by key action. I haven't started the menu except to show the set functions for fullscreen. I'm waiting for opinions before proceeding.
One major change is a new function that should consolidate all the menu changeable video options. At a minimum, it uses 2 parameters and 10 at most. I think the only time it will use the extra parameters is when setting the config and changing the game window in the video options gump.
I consulted Marzo about this in IRC. I've already committed this and more.