Map editor now functions