fixed file handling in repack_entry
cosmetic renames in ahd
cap the results for non-exact searches
renamed main fields
pep8 fixes
fixed bug of truncating recent items