Fixed protocol error, tabs to spaces, updated .gitignore