minor changes to hfind code and comments in hashdb code
updated hashdb-related code