event delete alg improved: now events are deleted with sales. Some views improvements