Typecast vars to suppress warnings.
Added example-created files to .gitignore.