Less printouts in RELEASE.
Fixed a few warnings.