Map editor with autotiles support