networking roughly implemented

Player disconnecting doesn't quite work yet.