Fix regression.  The export_ variables should not be applied to the package in which they are defined.

Also remove the obsolete, parallel implementation of env munging that is applied immediately.
Fix typo in new code that adds teh build environment to the log file.
Clean up configuration formatting.

Catch up art config.

Grouping is not working.
Fix grouping.

There is still something wrong with resolving format strings properly.