This branch is not fast; I've split recent works into two branches -- first thread safety, then repaint queue - because each feature is pretty independent.
FPS-wise untangling recording from drawing gives fps that goes easily above 4000fps (but it is throttled to go at 60fps); although recording technically may not keep up with this.