Worker debug output cleaned up and extended
Remove test code causing test worker to exit

Code was introduced in 2153206c, mistakenly.