Change Event Instance parameter serialization. Fix some event commands in event classes. Fixes #134