On stability and the convergence of the Kähler-Ricci flow