slight front-end cleanup, clear client id on clientside if socket drops, check for active client id before emitting events on client side