Fix mouse focus bug with favorites menu

If you click on favorites and click on any area outside menu -> nothing happens
This is because the mouse is grabed by window.
Fix this by registering a callback instead of immediately grabbing(not sure why this was added by Michael)
Frankly this code can use some DRY love
Fix Keystroke lost in favorites pane issue

If user is in favorites pane -> starts typing, first character is lost
This is because the changeTab->focusSearchEntry->set_text("")
Not sure if right way, but fixing this by setting the text to its prev
value after the changeTab, works well for me
Click Search menu - > click outside menu

Same problem, same cause same person, same commit.. I wonder why..
Fix mistake in previous commit
Merge pull request #49 from ktaragorn/fix_favorites

Fix Minor issues with favorite menu and others