Minor fixes related to logging mainly. #73