The ending was really confusing. I'm pretty sure David programmed each lifeboats their respective destination and was still tinkering with the control system inside the pod himself, same goes with the woman astronaut...so why did it turned out the that way in the end? The ending made me feel dumb