Added ability to cancel processing. Also display status messages at the end