RelayLink: bugfix (see #3)
RelayLink: code cleanup