Fixed idle flags never being set back to false in RelayReader/Writer. RelayReader relay_read_setup() compiles but is totally untested. (Not actually in use yet).