More networking and init of windowhandler.