lightly tested locks, beginning to add process functions for clientlisten, serverlisten, and pinger