The ConsoleLogger is not thread-safe and should not be treated as such

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
General fixes and some small additions.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>