Moving Pre- and PostRender functions to renderer, from window class