Cleanup of clipboard manager work.
Fixed jitter in captured cursor mode.