I removed the tiledata[][] constructor for tile dialog because it wasnt
working