WindowsMain: Fixed register class
Logger: Thread safe logger