Serial Monitor Strange Bug with "while (Serial.available()==0) { }"

Hi,
I’m confused about this strange bug here.
You can see the screen shot and the serial monitor below.
Line 8 never prints for some reason?!?
To help debug further, it might be good to know that if I comment out line 8-10, then line 12 doesn’t print either…

I can enter the name no problem, and it will print it in the recap sentence, but it never prompts me with “What is your name?”

Any help would be great!