         delta (- target-time (jvm-time-ms))]
      (when (and (< 1000 delta)
                 (@state :live-mode-on)
-                (not (.isLiveModeOn gui)))    
+                (not (.isLiveModeOn gui)))
       (.enableLiveMode gui true))
     (when (pos? delta)
       (interruptible-sleep delta))

        (list
          #(log event)
          (when (:new-position event)
            (for [[axis pos] (:axes (MultiStagePosition-to-map (get-msp current-position)))
                  :when pos]
              #(apply set-stage-position axis pos)))
          (for [prop (get-in event [:channel :properties])]

              :customIntervalsMs       :custom-intervals-ms
              )
            (assoc :frames (range (.numFrames settings))
                   :channels (vec (filter :use-channel
                                          (map ChannelSpec-to-map (.channels settings))))
                   :positions (vec (range (.. settings positions size)))
                   :slices (vec (.slices settings))
                   :default-exposure (core getExposure)
