Set the Process Object ID *before* creating the first thread.
Set the Process Object ID *before* creating the first thread.

Otherwise the thread will reference the wrong process object which will
screw it up when we come to clean up memory at the end of the process.
sam-truscott/tinker-kernel,sam-truscott/tinker-kernel