Simple client-server game finally works. Fixed numerous cases where tiles failed to generate correct data.