Integrated UI with client/server programs

Made changes to Client and Server to work with UI. Also fixed various
bugs and have most of the distributed Client/Server code working.