Added some stuff. Makes the canvas work now.