[cosmetic] Simplify use of TextParser
[#8] Fix hang due to incorrect parsing of frames with no parameters