editor: make stReadHeader conform with other reader functions
editor: do not duplicate model state for loading lines