Rework MainWindow.
Heavily rework SearchWindow, put some doxygen comments in it.
Fixing comments in SearchWindow.
Add comments to RefactorWindow, silence warnings.
Remove unnecessary comments.