It would have ended before Shippuden, but fans wanted more.
Death Note was supposed to end right when L dies, but the company who distributes Death Note wanted the creators to expand the storyline for marketing purposes because it is so successful.
Yes, they killed off most of the main characters within 26 episodes. Though I am still wondering what was Matt's role in the story besides getting shot by a dozen men.