Add QFrame to QWebView
Reorganization of functions