* Added mechanics returning error code 406 Not Acceptable when trying to switch to empty custom quotes database. * Minor cleanups. * Minor fixes in test script.