Program should exit fully and correctly [8]

Program should exit fully and correctly [8] #576 

https://github.com/qlynn/prizm/issues/18