optimize syntax highlighting; need to figure out hard-to-repro infloop and incorrect multi styling