added gitignore, fixed race condition with tasks