- Fix ETHREAD/PROCESS typos and add a function to psfuncs.h