graph_sdl, main: move some SDL init to graph_sdl

Plan is to move most or all of SDL related things outside of main. And add the option to spawn multiple windows. For reasons.