changed primary while loops to my new scheme: check for input commands from server/client, (server) check to see if another client is trying to connect, (client) keep performing your task