redid error/quit channel structure. connection restarts seem to work better now. still a little convoluted