cw.c: fix reading of env vars: read them all before running definition file

Fully decide whether or not to color before calling set_up_harness.