Move more stuff around for move to web worker.
Add geometry batching pipeline to a web worker.