Fix 'blanket' condition handling.
Added .gitignore.
Merge pull request #60 from ivan4th/master

Fix blanket condition handling, add .gitignore