Fixed grouping regexps
Assigned an undefined cell to XX
Made sure we write any unicode to the cache
Replaced consecutive non-ascii, not just a single
Removed redundant code
Accounted for totals row name variation