new changes

added the bonus window-close option