New control messages implemented.
Client connection thread protection added against double deletion. (causing a race condition)