Resource listener now working for project close/delete.