set up a renderer to upon a window