Added gitignore files
Fixed offset not being saved.
Merge pull request #1 from henrik-muehe/fixes

Added gitignore files, fixed not saving the string offset