fix bug where last items in sbdb and mpc wouldbn't be committed to database
update to scoring that also takes into account closeness