Fixed the crash on opening a buffer
Merge pull request #86 from pvl1/master

Fixed the crash on opening a buffer