Make STATS log a NOTICE message

Also, fix %lu / %u sizing issues
Fix uninit value warning in manifest_validate