Merge branch 'master' into prefs