bugfixes + multithreading in reply