ShellMenu modified to avoid broken select call after getText is called
(fixes #749)
PreferenceDialog implemented (fixes #460)