improve otfg string parser
Merge branch 'master' of github.com:tfgg/castepy