   "Start from command line."
   [& args]
   (init-ui)
-  (let [ew (make-editor-window {:language :clojure
-                                :keybinds keybinds/standard})
-        ri (make-repl-input-window {:language :clojure})
-        ro (make-repl-output-window {:language :clojure})
+  (let [params {:language :clojure
+                :keybinds keybinds/standard}
+        ew (make-editor-window params)
+        ri (make-repl-input-window params)
+        ro (make-repl-output-window params)
         r-is System/in #_(java.io.ByteArrayInputStream.
                           #_(.getBytes "(println 'foobar)\nexit\n(println 'foobar)\n"))
         r-os (java.io.ByteArrayOutputStream.)

              (if-let [dir (last (selection e))]
                (let [files (.listFiles dir)]
                  (when (and (.isFile dir)
                             (or (.contains (.toString dir) "clj") (.contains (.toString dir) "java")))
                    (reset! current-filename (.toString dir))
                    (.setText (:text-area (get-editor)) (slurp @current-filename)))
                  #_(println dir)
                  (config! (select f [:#current-dir]) :text (.getAbsolutePath dir))
                  (config! (select f [:#status]) :text (format "Ready (%d items)" (count files)))

        :scroll-pane sp
        :menus menus}))

(defn make-repl-output-window
    "Make an editor window."
    [params]
