Removed various logging
Fixed compilation on clang