Make threadCount thread-safe via AtomicInteger && cosmetics