misc bug fixes; event serialization tweaks