(GH-372) shimgen improvements

 - shimgen can handle spaces in arguments now
 - shimgen does not open a window for GUI based apps