Various fixes for the offscreen renderer.

Don't use main data but the snapshot copy in the thread!