Fix crashes in init prompts. Fixes #79 Fixes #80
Merge pull request #81 from pauljz/master

Fix crashes in init prompts.