Refactored networking code. It's a lot better now. Many minor changes too.