public GeckoWebBrowser()
{
#if GTK
if (Xpcom.IsMono)
m_wrapper = new GtkDotNet.GtkReparentingWrapperNoThread(new Gtk.Window(Gtk.WindowType.Popup), this);
#endif
NavigateFinishedNotifier = new NavigateFinishedNotifier(this);
// Optimize: only enable Console Message Notification when event handler attached to ConsoleMessage Event.
EnableConsoleMessageNotfication();
}