making all writes run through sendMessage()