added Close Map menu item
refactored Tileset Factory