Map editor begin & autoformat