Quickish script to summarise level contents, without requiring to
execute the editor (which involves an DOS environment and unparseable
output).
Code should also be much more readable than my horrible Pascal blob, so
simultaneously serves as a format description (and can return all data
in JSON structure, in case anyone has the desire to read it).