Two of the darkest episodes of Battlestar Galactica were clearly influenced by another sci-fi story's all timer of an ending.