o Extract framebuffer code to be independent of RGBMatrix.
  Preparation to support double buffering.