Minor changes / bugfixes for Logger and TimeUnit