An example, more work.
Window closes when you click the button :D
Merge pull request #1 from ppodsiadly/master

Update