Im not that interested, I'm just enjoying the series.
But
I have a big feeling that it was River in the spaceship, who killed the Doctor.
the Doctor has asked River Song... "why are you in jail? Who did you kill? Perhaps she killed the Doctor in the astronaut suit when she was a child 200 years later. Remember, River keeps meeting the Doctor in the wrong order.