if editor isn't specified on command line, now uses shell execute of .txt to open in default editor