fix typo in setpriority syscall wrapper
global cleanup to use the new syscall interface
initial check-in, version 0.5.0