Prompt stages can now optionally show an exception, and minor
optimisations.