Add end-proof for explicitly ending proofs. Make script exceptions dump into interactive mode at the site of exception.