Improved commenting of dbfilename, factored out functions for
qualifying a basename, started implementing the global errormessage system and
strings table.t