Afghanistan's election debacle took a step in the right direction Friday when a unity deal was agreed to by the rival presidential candidates.