bugs corrected, server shuts down disconnected clients and managers