Track unassigned variables in loops better.
Track unassigned variables in generators. Fixes #80