         path)
       (getPane [pref-state-atom runtime-state-atom _]
         (let [pane (or (get-in @runtime-state-atom [:project-panes path])
-                       (home-pane @pref-state-atom @runtime-state-atom))]
+                       (home-pane pref-state-atom @runtime-state-atom))]
           (swap! runtime-state-atom update :project-panes assoc path pane)
           pane))
       (focus [pane]

  :ret spec/pane?)

(fdef home-pane
  :args (s/cat :pref-state map? :runtime-state map?)
  :ret spec/pane?)

(fdef file-node

                     (let [pipes (b/create-pipes)]
                       (b/init-console! repl pipes web-port
                         (fn []
                           (b/refresh-builder! repl true @pref-state-atom)
                           (b/start-builder-process! repl pipes process "." nil ["clojure.main"])))))]
    ; load the panes
    (.load (.getEngine docs) (str "http://localhost:" web-port "/cheatsheet-full.html"))
