Make the delays configurable in settings.js
Reset the delay to the minimum upon focussing the window (configurable)