fixes to the relay docs
added a guard against nextTick getting bad funcs