Improved .gitignore

Correct the settings ignore and added some backup file patterns and comments