[GTK] Some minor WebView fixes for #341

Just some code cleanup and minor fixes. Makes Xwt.GtkBackend.WebViewBackend work on Windows and Mac.