Adds out/ to .gitignore
Finish Activity if non OK result is returned.
Some IDEA setup changes.