Now possible to make syscalls from userspace.
Added function to set PID of current thread.
Changed order of includes so that scheduler can use pid_t.
Set PID of current thread before starting usermode code.