I... I think he dies at the end? I have no idea what happened at the end besides a long speech about how "life is a dream" or something.