more work on TileGlassFormer and bug fixes