User blog comment:GunsnadGlory/Doctor Who (part 2)/@comment-4641513-20121002212222/@comment-4612798-20121003094023

My own private theory which, yes, will inevitably be completely wrong, is that if she's smart enough to hack a dalek then she'd be smart enough to transport herself off the asylum when the shields went down and hack a bunch of nanites along the way. With them she'd slowly turn herself back into a human - or at least near enough - and then at some point sent herself back in time so she could meet the Dr again.

But anyway, those last 5 episodes were nigh on perfect.