Rename *_AMOUNT to *_PROPORTION.

"calling variables FOOBAR_AMOUNT is a little confusing
when it represents a fraction, not an absolute value"
Check for sanity of constants.