She could regenerate into someone more befiting his style. What I was expecting was that she was she reconstituted herself from the save data in The Library but was too corupted then died and regenerated as Missy
Also I loved the little alteration in the opening credits