Fixed safe_exec() and made name space expand at the frame that caused the exception.
Fixed safe_exec() and made name space expand at the frame that caused the exception.

joy13975/elfin,joy13975/elfin,joy13975/elfin