Performance improvements.

- remove one layer of overdraw in pages.
- cache hardware layer for each page to speed up paging between
  pages that have been loaded but not yet rendered.