pub(super) fn apply_pending(state: &AppState)
Apply each queued switch whose agent has no pane in a turn. Runs with every episode refresh (a turn ending pokes it). BLOCKING.