added better error reporting to the level editor