   (when (and (@state :init-continuous-focus)
              (not (core isContinuousFocusEnabled)))
     (core enableContinuousFocus true))
-  (return-config)
-    (catch Throwable t (ReportingUtils/showError t "Acquisition cleanup failed."))))
+  (return-config))
 
 ;; running events
   

(def live-mode-running (ref false))

(defn enable-live-mode [^Boolean on]
      (if on
        (let [event (create-basic-event)
              state (create-basic-state)
              first-image (atom true)
              start-time (jvm-time-ms)]
          (dosync (ref-set live-mode-running true))
          (core startContinuousSequenceAcquisition 0)
          (log "started sequence acquisition")
          (.start (Thread.
                    #(do (while @live-mode-running
                           (let [raw-image {:pix (core getLastImage) :tags nil}
                                 elapsed-time-ms (- (jvm-time-ms) start-time)
                                 img (annotate-image raw-image event state elapsed-time-ms)]
                              (reset-snap-window img)
                              (show-image @snap-window img @first-image)
                              (reset! first-image false)))
                         (core stopSequenceAcquisition))
                    "Live mode (clojure)")))
        (dosync (ref-set live-mode-running false))))

;; java interop


    image-tags
    ["Width" "Height" "PixelType"]))  

(defn initialize-display-ranges [window]  
  (do (.setChannelDisplayRange window 0 0 256)
      (.setChannelDisplayRange window 1 0 256)
      (.setChannelDisplayRange window 2 0 256)))

(defn create-image-window [first-image]
  (let [summary {:interval-ms 0.0, :custom-intervals-ms [] :use-autofocus false, :autofocus-skip 0,
                 :relative-slices true, :keep-shutter-open-slices false, :comment "",
