Add to gitignore, whitespace changes to core.sh