Added gitignore files, fixed not saving the string offset

See title, just minor changes.