adds logic for correctly sending outgoing messages (big search/replace), adds outgoing msg interceptor, fixed some bugs
adds logic for correctly sending outgoing messages (big search/replace), adds outgoing msg interceptor, fixed some bugs

hpn777/nodefix,falconair/nodefix,falconair/nodefix