     behavior     : "application"
     preCondition :
       condition  : (options, cb)->
+        KD.mixpanel "Click open Webterm", name
 
         {vmName} = options
         vmController = KD.getSingleton 'vmController'

          vmController.info vmName, KD.utils.getTimedOutCallback (err, vm, info)->
            cb  info?.state is 'RUNNING', {vmName, info}
          , ->
            cb yes
            KD.logToExternal "failed to fetch vminfo, couldn't open terminal"
            KD.mixpanel "Can't open Webterm", {vmName}
          , 2500
      failure     : (options, cb)->
        {vmName} = options

    route        :
      slug       : "/:name?/Develop/Terminal"
      handler    : ({params:{name}, query})->
        KD.utils.wait 800, ->
          router = KD.getSingleton 'router'
          warn "webterm handling itself", name, query, arguments
