Moved the CharacterMap code over to the TextNodeCreator class as that's where it belongs
Recoded to work with characterMap