added believed correct window focus loss/minimize behavior.