fixes and enhancements to Tmx.Server/Tmx.Client