minor update

small bug fixes
mainly added .gitignore