more work on system_prefs general and improvement to check_os_vers