..Douglas Adams wrote a lot of the scripts for the radio play three minutes before deadline, and so on. So they were rewritten and done over again, compiled differently, and so on when it turned into a book.
But the "depressive ending" was never a bad ending, and it made perfect sense in the...