Celery over AMQP and other bug fixes