fix misinterpretation of client_socket's normal termination
minor change: name unused variable
fix universe_helper:pid_of_world
implement first version of environment calculation per client