Check if buffer is alive before reparsing.
Merge pull request #149 from lewang/dont-parse-killed-buffer

Check if buffer is alive before reparsing