static void Main()
        {
            try
            {
#if USECEF
                string cachePath = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "WebCache");
                LimnorStudioPresenter.Init(cachePath);
#endif
                Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
                Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                FormSplash.ShowSplash();
                Application.Run(new LimnorVOBMain());
            }
            catch (Exception err)
            {
                FormSplash.CloseSplash();
                MessageBox.Show(FormExceptionText(err), "Exception in Main");
            }
        }
        public WebHostX86()
        {
            BrowserSettings bs = new BrowserSettings();

            bs.ApplicationCacheDisabled            = true;
            bs.HistoryDisabled                     = true;
            bs.JavaScriptAccessClipboardDisallowed = false;
            bs.JavaScriptDisabled                  = false;
            bs.JavaScriptOpenWindowsDisallowed     = false;
            bs.PageCacheDisabled                   = true;
            bs.UniversalAccessFromFileUrlsAllowed  = true;
            bs.WebSecurityDisabled                 = true;
            bs.TabToLinksDisabled                  = true;
            web_view      = new WebView("about:blank", bs);
            web_view.Dock = DockStyle.Fill;
            web_view.RegisterJsObject("limnorStudio", new limnorStudioJs(this));
            this.Controls.Add(web_view);
            var presenter = new LimnorStudioPresenter(web_view, this,
                                                      invoke => Invoke(invoke));

            this.Dock       = DockStyle.Fill;
            this.AutoScroll = false;
        }