adding gitignore, remove junk file, fix some permissions

Some janitorial tasks.