Got rid of internal queues, simplified gevent stuff