Added more networking code. Have networking handled through another thread for now. Might have to be changed, but it would be the easiest solution.