Improvements on the preferences dialog.