working on mapeditor - waiting for bugfix