Fixed window.close() not working
Merge pull request #102 from Outpox/master

Fixed window.close() not working