More refactoring of symbol names.
Fix missing initialization of character counts table. Some file reorganization.