Use std:: for everything, fix do-while
Update .gitignore, now ignores xcuserdatad
Revert "Update .gitignore, now ignores xcuserdatad"

This reverts commit a2ff459a5ab169d1cc0ccdd542b0d25144882174.
dummy commit, will fix my messup after this