move all preferences to prefs class, allow to show distance to way, make nearest way independent from current display