Changed aborts to exits in the examples.