Clientthread changes