Added canvas, made figures draw to the canvas

As the title says. There's a bug where the canvas goes blank when you
resize the form that really needs to be fixed!