Only send action if self.lastFile is not nil to prevent crashes when a new assistent editor is opened
Merge pull request #2 from iv-mexx/master

Check if self.lastFile is nil