added some network stuff. Changed GUI a bit