Add a window object which holds the current zoom level as well as window width and height, resizes the canvas on dimension changes and more. (Will be implementing this soon)