How I stopped a 2.9-million-triangle 3D anatomy app from freezing the browser: parallel shader compiles, off-thread textures and a persistent canvas.