Updated for Disconnect Function

Client Connection updated to actually set global variable.
WorkServer set to have set commands for while loops.

PROBLEMS: Server isnt cleaning connection after disconnect from Client
Side.