         z (get-z-stage-position default-z-drive)
         xy (get-xy-stage-position default-xy-stage)
         exposure (core getExposure)]
-    (println "shutter-open prepare-state" (core getShutterOpen))
     (swap! (.state this) assoc
              :pause false
              :stop false

      (core setAutoShutter (@state :init-auto-shutter))
      (set-exposure (core getCameraDevice) (@state :init-exposure))
      (set-stage-position (@state :default-z-drive) (@state :init-z-position))
      (println "blah" (@state :init-shutter-state))
      (set-shutter-open (@state :init-shutter-state))
      (when (and (@state :init-continuous-focus)
                 (not (core isContinuousFocusEnabled)))

  (try
    (attempt-all
      (log "cleanup")
      ; (do-when #(.update %) (:display @state))
      (state-assoc! :finished true :display nil)
      (when (core isSequenceRunning)
