Run command in same directory as current file if no project is open no directory is specified.
Added command options for stdin/stdout control.
Implemented sending current selection/file to command standard input.
Implementing sending stdout to new editor or replacing selection.