Add support for showing redraw regions.
Optimize quad tree updates.
Pull from upstream.