Add pdf, png export

While the sketch is running:

  Press s to save the image as a png.
  Press p to save the image as a pdf.