Fix messages partial and add some files to .gitignore