Improve map editing.