Added vi .swp files to .gitignore
Wrapped each source in a try/except block