minor bugfix, update template to reflect ability to early terminate program.