gi autocomplete: fixed the responsiveness issue

Sorry but I'm a fish newbie and in the gi autocomplete I had ignored the problems of responsiveness.
Here I try to fix by using a getter function and emitting messages.