Fix bad toString() method in StateContext.
Submit commands in cached thread pool.
Add named thread factory to CandidateController.
Similify threading throughout internal classes.