Have I achieved a null- terminated C-string through the code?

PaulS:
The block of code I was referring to only happened when the 'D' key was pressed. Printing each character entered, as it is entered, IS appropriate. Printing them all again, one at a time, when the 'D' key is pressed, isn't.

So what I've implemented now is correct? Shall I proceed to storing the unsigned long 'count' into the Arduino EEPROM?