Introduced tools.eventsBuffer.
Reuse eventsBuffer in keyup listener.
Widgets selecting.