simple rendering to a window