by stripping the *.exe extension, if present.
* use filepath to get correct result of file path operation on every OS. * use filepath.Walk to get a better idea what is being done here * simpler way to get the basename of a program; also works on Windows