Course set functions can now change the database directly when their $setDB flag = true. COURSE::withValues() now will attempt to add the course to the database. Use getInDB() to determine whether the course matches one in the database.
Using Course set functions without the $setDB flag = true will set that course's $inDB flag to false.