void Start() { try { logger.ClearLog(); logger.Log("Starting Debugger UI"); debugger.Load(); debugger.StartWatch(); screenSelection = new SelectionGrid(new string[] { "Log", "Mods", "Debugger" }, GUILayout.Height(25)); screenSelection.Selected = 1; logWindow = LogWindow(); modWindow = ModWindow(); debugWindow = DebugWindow(); RefreshMods(); logger.Log("Debugger UI startup complete"); } catch (Exception e) { logger.Log($"While starting UI threw {e.GetType().FullName}: {e.Message}{Environment.NewLine}{e.StackTrace}"); } }