log4j, multithreading fixed, static analysis fixes