clean up lps / typeahead code; docs
tweaks to ldap search