Spaces of graphs and surfaces: on the work of Søren Galatius