);
				
				for (var i = 0; i < imgData.data.length; i += 4) {
				  imgData.data[i+0] = uint8RGBA[i+0];
				  imgData.data[i+1] = uint8RGBA[i+1];
				  imgData.data[i+2] = uint8RGBA[i+2];
				  imgData.data[i+3] = uint8RGBA[i+3];
				}

				ctx.putImageData(imgData, 0, 0);
			} catch { }
		}

        // Pass by IPC to main which process to attach
        function attachProcess(pid) {
            // Pass PID by IPC to attach
			ipc.send('attach-process', pid);
        }

		// Close dialog, make no changes t