Validate sample_denominator > 0, and make sure we actually apply it
to the globals.