Added much stuff for canvas_preview