misc fix-ups. latest_hash -> best_hash.