Switched cursor thread-safety mechanism from a critical section to agent alter.
Implemented click count statistics