Added letter count, save, undo, and redo functions.