Updated load_db with a changelog table and fixed plotting error in BDdb.inventory().