Preferences interface and some defaults