refactor ee.emit() to reply()
refactor cluster.workers[id]
bail out early if not upgrading, keys variable might as well be local to broadcast()
refactor index check for last element