Adding appendFlowData and other tweaks.

* adding appendFlowData
* putting EventFlag in the trace shim so people can use the enum
* making snapshot files cleaner by only writing events required