Split back-endish part off xoptions.c, and move to dialogs.c