renamed KERNEL_ to SYSTEM_ and INVALID_PROCESS_ID to