Improve string to number validation/handling
Add quotes around menu shortcuts

On windows at least wxWidgets refuses to not let us handle keyboard shortcuts,
when set in the menu. Which means we can not get certain keys from keyboard,
such as TAB which is used for several different things depending on context.