made variables public in EventObj. modified clientThread