!7 static DynamicHStack buttons; p-noconsole-autoupdate { buttons = renameFrame("Running Bots", showNiceButtons()); refresh(); addButtonsToWindow(buttons, "Refresh", f-thread refresh); } svoid refresh { replaceNiceButtons(buttons, runningBotsForNiceButtons()); centerPackFrame(buttons); }