Fixes for different problems, e.g. Encoding, introduction for .gitignore