Trivial fixes to connect.
* require shiny
* actually iterate through pipes