The death of Professor X

Professor XÂ is completely dematerialized by Jean Grey in the Last Stand. But it was nothing more than a scratch, since he is revealed to be alive (in some way) in the credits scene, transported in what seems to be a different body.
To add insult to injury, Moira is now (that’s 2006, in the timeline) an MD, which completely contradicts her history (as revealed in the second trilogy) as a CIA agent. Of course she looks very young and she knows who Charles is.
To be clear, his body wasn’t cloned – so how does he get it back for Days of Future Past? Furthermore, it cannot be explained how he manages to transfer his mind into a different body, god knows where, since this isn’t one of his abilities in the movies.
Sometimes it just doesn’t make sense. And this credits-reveal only confused those who watched The Last Stand. Now, if Days of Future Past didn’t bring back the Patrick Stewart Xavier, it wouldn’t have raised so many questions – but it did.
