     (swap! (.state this) assoc
       :pause false
       :stop false
-      :running true
       :finished false
       :last-wake-time (jvm-time-ms)
       :last-stage-positions (into {} [[default-z-drive z]


;; globals

(def ^:dynamic state (atom {:running false :stop false}))

(def settings (atom nil))


;; generic metadata

(defn convert-settings [^SequenceSettings settings]
  (-> settings
    (data-object-to-map)
    (rekey
