Added relaying mode changes. Fixed self join/part relaying.