fix autocomplete

What got fixed :

1. On Mac, when pressing enter on the input, the autocomplete list would
not be hidden.

2. On Mac, without Requestor, I would encounter the same problem that
the request didn't get send out anytime and I hav to hide and re-focus
the window to make it work every time.
Merge pull request #127 from EragonJ/bug/fix-search

fix autocomplete
On Mac, when clicking on sidebar, we can only render the result after

re-focusing the window.
Merge pull request #133 from EragonJ/bug/fix-track-source

On Mac, when clicking on sidebar, we can only render the result after