def OnOpenDocument(self, fnm):
        #this bizarre stuff with params is so right clicking in a result window
        #and starting a new grep can communicate the default parameters to the
        #new grep.
        try: