• prefs: Make the preferences be guarded by a RwLock instead of a Mutex

    This should reduce unnecessary locks that happen when we read preferences.
    emilio committed Jul 5, 2016