Editor: exception in dispose fixed (when project is not defined)