Muammar al-Qaddafi is dead. Now comes the hard part -- preventing Libya from turning into another Somalia.