reactoring and fixes in Tmx.Server/Tmx.Client