cleanup events; add cursor activity