remove wrapper client function, fix screen refresh, and disconnect clients