found a bug. when hitting button 3, I was creating new overlays. got things quite slow after a few dozens of hits.