Further improve the query flash prevention

Stop query windows from flashing after 20 seconds by setting them to an 'event' state.