Wrap most kDebug() statements with #ifndef NDEBUG