Remove some unused code from X11.
Allow dynamic menu entries to be greyed out.
Allow empty lines in context menus.
Add a function to set the initial selection of a context menu.
Get X11 system menu working.