       email:
         description: text + "\n\nCheck it out here!: " + document.location.href
 
+finished = false
+
 exports.events = {
   _LABEL: "events"
   interval: my.duration.step

  done: (world, args) ->
    success = args > 0
    world.send 'stop'
    if success
      $('.done_dialog').dialog
        modal: true

  step: (world, button) ->
    world.send 'tick'
    world.send 'fetch'
    return if finished
    world.send 'execute'
    world.send 'prefetch'

