do not rely on initialized flag, which is now deprecated
install grammar
Merge pull request #1 from skimhub/fix/safely-detect-segment-io-loading

do not rely on initialized flag, which is now deprecated