Move methods.
Refactor HistoryManager.
Output search result to file.
Add search category button.
Auto close search window when search.