add pids to the wids test program

also rename it to pids.uqb
move process/worker assignment to application

also switch from mutexes to spinlocks
forks work, but newproc doesn't work right now. still tracing why.