just reorganizing the file a little
Accepting either Up or Down arrows to grab focus for menus in Close and Forward mode.
Fixed bug by setting focus back to the QLineEdit after poping up the search menu
renaming variable to reflect the widget type