More system calls implemented.
Added test application: threads, semaphores, virtual memory allocation.
Service startup fixes.