Fixed major bug where TileLayers were incorrectly serialized if they had any blank cells.