                                   :checked   persist?
                                   :on-change #(dispatch ::on-toggle-persist)}]
    [:label {:for "persist-toggle"} "Persist"]
-   [-menu-button "Sweep" #(dispatch ::on-sweep) "Removes disabled actions and \"orphaned\" signals from history"]
-   [-menu-button "Sweep All" #(dispatch ::on-sweep-all) "Clears debugger history without affecting app model"]
+   [-menu-button "Vacuum" #(dispatch ::on-vacuum) "Removes disabled actions and signals with no actions from history"]
+   [-menu-button "Clear" #(dispatch ::on-clear) "Clears debugger history"]
    [-menu-button "Reset" #(dispatch ::on-reset) "Removes all actions and signals resetting the model to initial state"]
    [-menu-button "Hide" #(dispatch ::on-toggle-visibility) (str "Hides debugger view (" toggle-visibility-shortcut ")")]
    [-menu-button "Save" #(dispatch ::on-save) "Saves current debugger session into file"]

               ::on-toggle-persist
               (dispatch-action ::toggle-persist)

               ::on-sweep
               (dispatch-action ::sweep)

               ::on-sweep-all
               (dispatch-action ::sweep-all)

               ::on-reset
               (do

                                                                                   (dissoc m ::debugger))])
                   (update-in m [::debugger :next-action-id] inc))

             ; looks like originating signal could be already cleared -> create "unknown signal" to record this action
             (reconcile model a)))))

;;;;;;;;;;;;;;;;;;;;;;;; View model
