Ifdef out useless debug loggings etc.