Big update. Mostly about client-server communications.