       [:ul.mdl-menu.mdl-menu--bottom-right.mdl-js-menu.mdl-js-ripple-effect
        {:for (str "menu-" num)}
        [:li.mdl-menu__item
-        {:on-click #(eval-str (:state props) expression)}
+        {:on-click #(eval-str state expression)}
         "Evaluate Again"]
        [clipboard
         [:li.mdl-menu__item
          {:data-clipboard-text expression}
          "Copy Expression"]]
        (if (and (some? output) (not= "" output))
-         (do (debugf "Have output")
-             [clipboard
-              [:li.mdl-menu__item
-               {:data-clipboard-text output}
-               "Copy Output"]])
+         [clipboard
+          [:li.mdl-menu__item
+           {:data-clipboard-text output}
+           "Copy Output"]]
          [:li.mdl-menu__item
           {:disabled true}
           "Copy Output"])

                               :ns         ns
                               :expression expression}))))))

(defn eval-input [props]
  (let [state (:state props)]
    (eval-str state (:input @state))))

(defn history-prev* [{:keys [cursor history] :as state}]
  (let [c          (count history)
        new-cursor (inc cursor)]
    (if (<= new-cursor c)

     [mdl/upgrade
      [:button.mdl-button.mdl-js-button.mdl-button--fab.mdl-js-ripple-effect.mdl-button--colored
       (merge (when is-blank? {:disabled true})
              {:on-click #(eval-input state)})
       [:i.material-icons "send"]]]]))


