library should call window status func at all times, translation to