Add routines for clients to stop or start services, and fix a couple potential segfaults.