Added `numberOfBufferPages` option that controls how many offscreen buffers are used.

* Note the value of `numberOfBufferPages` is a whole (even) number eg.

```
numberOfBufferPages: 4
```