Switch from QWidget to QMainWindow
Add QFrame to QWebView
Reorganization of functions