prefs helper addition for loading off ui thred