iPhone-PC-Pi coordination

There are some issues with network speed. see Bug Filed on 05-06-2016: Network Speed and Processes not loading

For the relay, which GPIO are you using? How do you have it hooked up? Take some pictures or draw up a diagram.