Add a SendCommandEvent? class that can be used to post an event to the control socket in the correct thread, letting it know it should send a control command.