fix name-entity
use ";IGNORECASE=TRUE" in db-spec
remove an outdated comment
add missing 'record in name->entity
add util functions to load/save data
add update-db to help migrate old data when db spec's changed