error handling improved
multithreading related improvements