threading in psqueue test program
some naming corrections in psqueue