                                    :fg-image-data fg-image-data
                                    :bg-image-data bg-image-data}}
                            key-chan
-                           gl-lock
-                           close-ref)]
+                           gl-lock)]
       ;; Access to terminal will be multi threaded. Release context so that other threads can access it)))
       (Display/releaseContext)
       ;; Start font file change listener thread

                           cursor-xy
                           gl
                           key-chan
                           gl-lock
                           close]
  zat/ATerminal
  (get-size [_]
    [columns rows])

    [LWJGLUtil/PLATFORM_WINDOWS true]
      (System/setProperty "org.lwjgl.librarypath", (.getAbsolutePath (File. "natives/windows/x86_64"))))))

(defn- init-display [title screen-width screen-height icon-paths gl-lock]
  (let [pixel-format       (PixelFormat.)
        context-attributes (ContextAttribs. 3 0)
        icon-array         (when icon-paths
