Check if self.lastFile is nil

When opening a new assistant editor, self.lastFile is nil until a file is opened in the new window.
This causes a crash in sendAction: because of the attempt to insert nil into the arguments array.

I've added a check if self.lastFile is nil