fixes and improvements to Tmx.Server