Modifies the counter for local thread IDs
Untangles dependencies if ipc and thread lib.
Removes indirection of calls between Ipc_message_queue and Ipc_manager
via Thread_utcb.