Fix hang in ipc.exe with invalid arguments

Also on successful compilation  "Saved to .." now shows correct file type