I've figured out the issue of the strange ordering. Apparently, listing strings and hitting enter between them doesn't actually mean the program will continue on as if nothing happened.

prompt = {'Enter A', 'Enter B',
'Enter C', 'Enter D');

That won't work. That'll give you weird results or just a plain error.
What you want is:

prompt = {'Enter A', 'Enter B',...
'Enter C', 'Enter D');

What a funny little language.