[DF-1294] Add tilemask copy\paste in heightmap editor. Remove unneeded code. Small fixes