Added threads, thread safe logging.
Added windows binaries.