Python demo: added remaining event decoding same as in C# demo