                           (log/trace "Rendering...")
                           (offer! render-chan :rendered)
                           (when (> now @last-render)
-                            (log/tracef "Setting last-render to %d" now)
                             (reset! last-render now)
+                            (log/spy :trace @last-render)
                             (reset! render-queued? false)))))
 
         ;; Handle event

        ;; Reset render timer if a render just occurred
        (when (< @timer-start @last-render)
          (let [now (.getTime (js/Date.))]
            (log/tracef "Setting timer-start to %d" now)
            (reset! timer-start now)))

        ;; Queue notification of render
        (when-not @render-queued?


        ;; Block till render if max-render-interval has been exceeded
        (let [since-last-render (- (.getTime (js/Date.)) @timer-start)]
          (log/spy :trace since-last-render)
          (when (> since-last-render max-render-interval)
            (log/trace "Blocking till next render...")
            (<! render-chan)
