SMS dit: Crisis and continuity at the Abbasid court