won't compile - updated DB save and load

added version number to the db
added several methods to xmlutil
replaced in-code literals with const strings for db xml names