Remove all window event listeners (for testing)