Support new "E" event frame type for synchronisation beep
Support computing stats for all frame types (not just P&I)
Begin tidying up parser code