Code

improve interactivity by forcing redraws when thinning