Remodeled logger synchronization, added semaphore class.