 
 (defn- render! [initialized? state templates wombats]
   (when (and (not @initialized?) @templates @wombats)
-    (initialize-simulator! @templates @wombats))
+    (initialize-simulator! templates wombats))
 
   [:div {:class-name "simulator-panel"}
    [render-left-pane! state]

  (re-frame/dispatch [:simulator/update-code evt.target.value]))

(defn- on-step-click! [evt state]
  (ws/send-message :process-simulation-frame {:game-state state}))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Helper methods

  [:div "OUTPUT"])

(defn- render-tabbed-container [state]
  [tabbed-container {:tabs [{:label "CODE"
                             :markup (render-code-tab state)}
                            {:label "OUTPUT"
