Caching the screenshots.

The current invalidation heuristic is to throw the screenshot away if
the sheet is displayed for more than 1.5sec.