Added renderToCanvas utility function (render to image).
Updated grid to render to background image.