As for the ending, a competent writer does know how their story is going to begin/end roughly. While there can be some pivots, you tend to stick to the structure. When you know how things will end, you get wonderful things like WoT, Mistborn, and Breaking Bad (major pivots were made, but the overall arch remained.) When you don't know how you will end it, you get Lost, The Dark Tower, The new trilogy... ...Hell... ...anything JJ Abrams touches, The Dragging Dead, X-Files, and the poster child of bad endings-- Game of Thrones. Which is very interesting to me. Has GRRM committed that card