Readability changes.

- include cstdlib for EXIT_FAILURE
- better variable names