Exit in fewer places
Use abort() instead of pretending.