Removed .gitignore, fixed error dialog on exit.