Fix bug in EO handling.
Extend graphics segment (extended TRE) parsing.

Start of test case.