Code reformatting - part 2

move exit() out of error_message()