Added an exit at the last point, and tidied up the 'nothing happens' lines