Got multithreaded setup so networking, UI, and input can run conncurrently. Also added a number of TODO's. See comments.