The Effects of Spatial Structure and Selection on Genealogies