Added PreferredDriverName to general preferences and logic to switch to the preferred driver (if defined) instead of random driver