DatabaseMasterObject now properly checks if a DB has been loaded before trying to access it.