changing the way of parsing text and storing glyph frames

(they are stored by charCode now)