Fix up a few more layout issues.

 * Optional test code for using a box with a menufield label instead
   of the custom mini menu field dropdown -- not enabled as needs a
   lot of work still.
 * Fix issue with adding duplicate controls when switching modes.
 * Use a spacer to prevent reflow when the mime-type menu is
   hidden.