Fixed problem with pipe 7 (trash messages) and double-sending of outgoning messages from gw.