fix logger class and very minor doco