Improve ProjectA multi-thread handling