framework tweaks, skeleton of first pack() functions

- a few variable names changed to reduce ambiguity
- const emutf_event pointer added to block_operators in addition to
emutf_event pointer. The former is for pack(). The latter for unpack()