Hide the Qt webkitwindow and add a clean way of closing it.