Fixed and expanded map editing.