I can understand your opinions, but I can also understand Ron's actions. My choices would not have been much better. Not everyone is perfect, remember that. I think Ron didn't actually think Harry did put his own name in, but he was still jealous. Harry always got attention, whether he wanted it or not.
And also, sometimes you have to leave your friends. That wasn't one of those times, but sometimes you do.