Minor tweak to window close and response behavior.