fixes and extensions to Tmx.Server/Tmx.Client