def _worker_one_task(incoming,outgoing):
   """A thread. Takes stuff from the incoming queue and puts stuff on
   the outgoing queue. calls execute for each command it takes off the
   in queue. Return False when we receive a terminator command"""
   #msgb("WORKER WAITING")
   item = incoming.get()
   #msgb("WORKER GOT A TASK")
   if item.terminator:
      outgoing.put(item)
      return False
   item.execute()
   incoming.task_done()
   outgoing.put(item)
   return True