change the signature for engine.Run(...) + update the call site + add a field to engine context called constants + access mode-related properites via env
missed this on my first pass...
more that i missed... hopefully the last of them
Merge commit '366114c013a96b15e3ca1b6b33f4854c81d5674e' into libxml_upgrade