MapEditor: Refactor code style. Also added HotKeys for CellEdit form.