protected void RenderTask() { try { Cef.EnableHighDPISupport(); Application.SetCompatibleTextRenderingDefault(false); Cef.Initialize(Settings); WallpaperManager.Initalize(); WallpaperManager.ShowWindow(); DesktopTool.AppendToWallpaperArea((wallpaperHandle = WallpaperManager.Window.Form.Handle)); WallpaperManager.Window.FillDisplay(); Logger.Log("Render task started"); Application.Run(); } catch (ThreadAbortException) { Thread.ResetAbort(); OnRenderQuit(); Logger.Log("Render task finished"); } }