remove dead code and refactor window blur handler into globalEventListeners object.