Fixed typo.
Added resizable canvas.
Cleanup.