Enhancements to PlaceAutocompleteTest tool.
This code was passed to me by Graham Steel (graham128).