Added level
Fixed mapeditor bug