Bugfix: when loading the native process, use the pid parameter not the uninitialized one...