Refactored and added Mike Kukta's comments to Application and ExitDialog
Fixed gitignore