Fixed some small issues with Logger