fix for https://github.com/jeromelebel/MongoHub-Mac/issues/140 and better logs