Added web form and some tweaks to generate_pretty_story.