*** more work on gui and first network transmission