Check for an open channel before sending a message.  The channel may have already closed because of a client crash
More entity trash code cleanup and refactoring