included notifyDeleted() function, to free texture and sketch object,
when MXJ is deleted/closed