Fixed shutdown/startup cleanup issues when linuxcnc stops.  status/command/error channels must be set to null in same thread they were created in.