   (let [new-tab (Tab. "Main Page")
         tab-view (VBox.)
         nav-bar (HBox.)
+        reload-icon "⟳"
+        stop-icon "x"
         back-btn (Button. "<")
         for-btn (Button. ">")
-        reload-btn (Button. "⟳")
+        reload-btn (Button. reload-icon)
         url-field (TextField.)
         web-view (WebView.)
+        web-engine (.getEngine web-view)
         index (- (.size (.getTabs tab-bar)) 1)]
     ; resize the controls
     (.setFont back-btn (Font. 16))

    (.setFont reload-btn (Font. 16))
    (.setMinHeight url-field 28)
    (HBox/setHgrow url-field Priority/ALWAYS)
    ; load the main page
    (.load (.getEngine web-view) "http://localhost:8080")
    ; set spacing for the nav bar
    (.setAlignment nav-bar javafx.geometry.Pos/CENTER)
    (.setPadding nav-bar (Insets. 4))

           javafx.scene.layout.Priority
           javafx.geometry.Insets
           javafx.scene.text.Font
           javafx.geometry.Pos
           javafx.beans.value.ChangeListener))

(defn create-tab
  "Creates a new tab."
