Added *.dot to gitignore.
Now creating .dot files instead of .gz files.
Added recursion guard.