[GTK] Some minor WebView fixes for #341

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