fixed bug in autocomplete.pl when no alternatives found, fixes for 7, additions for location support