fix close button on Windows/CrOS. closes #8