added support for EM wrap-around levels also to level editor