Self-throttle to keep scrolling smooth on slow machines
A bunch of performance improvements