     (init-state
       [_]
       {:config-changed (chan)
-       :width (:width data)
-       :height (:height data)
+       :year-period (:year-period data)
        :corp-quantity (:corp-quantity data)})
     om/IWillMount
     (will-mount [_]

    (automaton-output-handler [_ data owner msg]
      (let [corp-quantity
            (get-in @data [:automaton :specific :corp-quantity] 4)
            corps (corps corp-quantity)
            competitor-count
            (count (filter (fn [[k v]] (>= v 0))
                           (dissoc (:capital msg) :government)))
            command-info-c (om/get-state owner :command-info-channel)]
        (when (zero? (mod (:iteration msg) 6))
          (doseq [corp corps]
            (let [cmd
                  (update-in (a/conservative-corp

            reset-c (om/get-state owner :reset)]
        (go
          (while true
            (let [[corp-quantity year-period] (<! config-c)]
              (om/transact! data #(assoc %
                                    :corp-quantity corp-quantity
                                    :year-period year-period))
              (put! reset-c true))))))
    om/IRenderState
    (render-state [_ {:keys [corp-quantity year-period config-changed
                             command-info-channel]
                      :as state}]
      (let [started (:started data)]
