         (list #(collect-image event out-queue))
       (or (= task :snap) (= task :init-burst))
         (list
-          #(log event)  
+          #(log event)
           #(when-let [wait-time-ms (event :wait-time-ms)]
             (acq-sleep wait-time-ms))
           #(run-actions (create-presnap-actions event))

  (def eng acq-eng)
  (load-mm)
  (create-device-agents)
  (swap! (.state this) assoc :stop false :pause false) 
  (let [out-queue (GentleLinkedBlockingQueue.)
        settings (convert-settings acq-settings)
        acq-thread (Thread. #(run-acquisition this 
          settings out-queue))
        processors (ProcessorStack. out-queue (.getTaggedImageProcessors acq-eng)) 
        out-queue-2 (.begin processors)
        display (LiveAcqDisplay. mmc out-queue-2 (make-summary-metadata settings)
                  (:save settings) acq-eng)]
    (def outq out-queue)
    ;(.addImageProcessor acq-eng
      ;(proxy [TaggedImageAnalyzer] []
        ;(analyze [img] (log "pretending to analyze")))) 
    (when-not (:stop @(.state this))
      (.start acq-thread)
      (swap! (.state this) assoc :display display)

(defn return-config []
  (dorun (map set-property
    (clojure.set/difference
      (set (@state :init-system-state))
      (set (get-system-config-cached))))))

(defn prepare []
