 
 ;; testing
 
+(defn plugin-test
+  "Test the plugin."
+  []
+  (show-plugin (org.micromanager.MMStudioMainFrame/getInstance)))
+
 (defn test-lib
   "Get the first module with loaded devices."
   []

      (pausing-live-mode
        (reload-module module
                       (copy dll
                             (file "." (new-dll-name dll)))))
      (notify-user true "Finished reloading " module "!"))))

(defn reload-modules-on-device-adapter-change

   stop-following function." 
  [date-atom path]
  (reset! date-atom (file-dates path))
  (println @date-atom)
  (let [keep-following (atom true)]
    (future
      (while @keep-following
