fix queue-receiving loop
pretty-format json
use asyncthreads for plugin async
make wsgi server multithreaded instead of multiprocess