Code cleaning.
Fixed sending/receiving GlyphIndex Primary Drawing Order.
Merge branch 'future' into CachePersistent
Handling video geneation error by outputing informations in pgs file.