Made disconnects and reconnections actually work. Also did some cleanup on the logging so that we don't overwrite a NetworkLog if one already exists. Now we append to it.