Improve reporting

Make Logger, UsageReport and exception reporting more thread safe. For details see commit messages.
It definitely looks like it should be that, so I changed it.