Optimize glyph row clearing and copying routines.