volatile sbool conceptsAndBot_running; sbool conceptsAndBot_thinOnStart = true; static void conceptsAndBot() { conceptsAndBot(null); } static void conceptsAndBot(Int autoSaveInterval) { if (conceptsAndBot_running) ret; conceptsAndBot_running = true; try { ensureDBNotRunning(dbBotStandardName()); } on fail { db_mainConcepts().dontSave = true; // SAFETY } db_mainConcepts().persist(autoSaveInterval); dbBot(false); if (conceptsAndBot_thinOnStart) pcall { thinAProgramsBackups(getDBProgramID(), true); } }