setup prefs only when needed
display stuff