FIXED: Ensure ERROR messages are always displayed before an exit(1)