Added disconneting.
Added passthrough for recieved network data.
Fixed errors and chrashs.