Optimize processing of the effEditIdle event
Remove unnecessary locks

This is an experimental change. There is a chance that roll back will be
needed.