fix URI encoding for search engine queries
update to 1.2.65
remove dead code used when debugging history search