Update gitignore
Make it possible to handle window closing too