Issue #381 clickable autocomplete

Made autocomplete to work with mouse.
I know the issue was created just a few hours ago. And was not yet approved by p-e-w. But I decided to implement it anyway. 
Here also