I have a somewhat different opinion than a lot of folks on this type of stuff.
First, I think that we should enact laws that allow for "cruel and unusual punishment" for crimes of terrorism in which someone is killed. Take the gloves off and make these guys really pay. For instance, Hasan could be set up in stocks at Ft Hood with a 2x4 next to him and anyone who is pissed can come by and take a whack. What the hell? Make them understand that they get the WORST punishment for these kinds of crimes.
Second and MORE IMPORTANT I don't believe that Hasan should get the death penalty. Yep, you heard it here. These asshats don't mind dying because they get their 70 virgins, etc. I'm sure if he is put to death he still qualifies for martyrdom, and gets his virgins and all, so he really doesn't care. I say we sentence him to life without parole and keep him alive as long as possible, feed him some bacon, and make him watch Debbie does Dallas everyday. All while he is allowed two visitors each day- volunteer relatives of those he killed or injured. They each get a 15 second visit with Hasan and the 2x4.