Avoid a memory leak.

The main WebView and its matching WebPage were never deleted.

Unfortunately, it is not possible to delete them from the window thread
(in QuitRequested or the destructor), because they execute code that
needs to run from the main thread. So, we have to manually delete the
view before (or after) deleting the window, from the main thread.