exit button on windowstack corrected