The close button now correctly exits the process.
Merge branch 'closefix' into working