threading in psqueue test program
some naming corrections in psqueue
adopt suggested renaming
adapt psqueue test program
add many type_spec pragmas