Improved TileUnit and some management. Improved Editor