Fixup ac to limit # of cands; move process environ hacks into config TEMP