added check to see if curr is still valid.
prevFile.stat was null sometimes, needed a check for that. Broke out the if statements for now so it's easier to follow the logic.
need to fire change even if stat is null
Merge pull request #51 from ripter/emacsBug

added check to see if curr is still valid.