Actually make program exit on bad inputs.