Make a preferences dialog.

Previous the preferences menu was a dialog which only allowed the locale to be
selected. Now it opens a preferences dialog, which contains a Listbook that can
show various preference windows (currently it shows the locale selector).