Guard main entry point
PEP8ify
Factor confirmation dialog into separate method
Add .gitignore
Merge pull request #1 from kynan/master

Various fixes & code cleanup

Thank you. Great cleanup!