Added pause support for window losing focus, keyboard losing focus and p key press