Use new preferences system

This PR enables the new preferences system (finally no deprecation warnings any more in the console).
Old prefs are not converted.