AM: whitespace, reindent redundant if(.true.)

Also (single) space after comma, no space after opening, no space
before closing brackets. The stock english grammar in simple words.
AM: use ENUM for enumerated XC options
AM: use [] for literal arrays
AM: frac_tmp is a local var, parameter, protected
AM: comments only
AM: add a FIXME note