Fixed so that GetProcessName works on Windows