@Putin - while I don't doubt the remarks of your colleagues, or the fact that Gadhaffi allowed for a more secular society than the one replacing it, there are many, many worse things out there that he has done. Lets just take education, which you said he improved. The universities taught out of his Green Book - which was full of fallacies - and anything that went against his doctrine was suppressed. (University) Students were beaten on campus. Now, with universities opening again, they're trying to figure out how to form student governments and the sort, because all of that had been a sham under Gadhaffi.
About his murder. I don't like it and neither do most people (oh, and his son was executed too) but it was really to be expected. The NTC can't control the western forces, as was the case time and time again in Bani Walid and other areas. The NTC forces from the East are the ones who have a command structure, who are well trained, disciplined, and listen to orders. The fighters from Misrata, Tripoli, and the western mountains are the ones who don't take orders from anyone, and are the ones who loot and kill. To support this, it was a group of fighters from Misrata who killed Gadhaffi and took him back to (guess where!) Misrata.