OnEmptyTrash event + fixes