   disableUrlUpdate: false
   fallbackRoute: false
   init: false
+  initDone: false
   paramVerifier: false
+  renderCount: 0
+  clickCount: 0
+
   transparentRouting: () =>
     @init = true
     try

class KiRoutes
  routes: []
  postExecutionListeners: []
  debug: false
  log: =>
    if @debug && console && console.log
      if JSON.stringify
        console.log("ki-router: " + JSON.stringify(arguments))
      else

      @renderInitialView()
    finally
      @init = false
      @initDone = true
  hashbangRouting: () =>
    @pushStateSupport = false
    if !@hashchangeSupport
      throw new Error("No hashchange support!")
    @transparentRouting()
  historyApiRouting: () =>
    @hashchangeSupport = false
    @transparentRouting()

  attachClickListener: =>
    if @pushStateSupport || @hashchangeSupport
      @addListener document, "click", (event) =>
        event = event || window.event
        target = event.target || event.srcElement
        if target
          @log("Checking if click event should be rendered")
          aTag = @findATag(target)
