Add the extra prompt only when running code from editor (not from the prompt).

Addresses #8.