Switched to debug lambdas to save cpu when disabled
Reorg envelope output. Fix date parsing more.