moving more functions to glyph.coffee, better names