how do you feel about the ending?

Rating: 7/10 (5 November 2006)

OK. i'm opening this topic cause i'm having mixed feelings about the ending of the movie. when i'm talking about the ending, i'm talking about the part from the moment Leonardo realizes that Damon is a rat in the force, and on.
first of all - why does Leo run away? makes no sense for him to run and then later tries to "arrest" Damon. why doesn't he go straight to Baldwin?! 2. what's the thing with the yellow envelope?!? he gives it to psychiatrist and then...what? no sense, again. 3. everybody get's killed. after seeing Goodfellas (imdb auto corrected the name) and the casino i can understand that Scorsese likes to kill everybody on the end. but in this point, it makes no sense! what was i watching for 2 hours if on the end - no one wins? the mobs get wiped out, the good guy, the bad guy, innocent people (like the black cop). why? i mean, what's the point of executing everybody? who won? what have i learned in this movie?
if you ask me, a great movie with perfect performance, almost unseen quality acting crew, interesting story during all of the movie... and it gets destroyed on the ending showing us that actually there is no winner. it just has NO ENDING. that frustrated me, a lot.
2 more questions. why in the name of god would Wahlberg kill Damon??? unless of course it was Wahlberg who "got killed" in front of an elevator by Damon. i'm not sure of that. first i thought it was him, but then my friend said it's not true, that it is another cop. 2nd question. if Damon "wasn't the only one" working for Nicholson in the force, what did the other guy do? what ever Nicholson did, what ever he needed help with, Damon was the one who would tip him off and save his ass. so what the f..k did the other mole do for Nicholson?
my opinion after a long conversation with my friend: the end is not Scorsese's work. i think the producers said "ok, we want it to be this way" and it had to be like that. cause a disturbing and illogical ending like this is nothing like Scorsese. i just can't believe it's so.
i gave this movie a "7" just for the ending. unfortunately i will always remember it as "could-of-been-a-master-piece" but didn't cause the ending was destroyed it. hope to see a directors cut.
cheers all!