Added lookup array for tileset info to reduce the complexity of tileset changing.