Improved PID generator so now it is possible to wait for jobs, which has
finished long ago and even their PID isnt in JobTable anymore.
Added maxMemory for more fancy start.
cosmetic
Now you can wait for user's jobs to finish.