Fix up digest_int calculation
Percentage param_name is configurable
Start plumbing in the front end for percentage

(TODO: Decouple this)