Removing program exit window