cw,fx: replaced cw's cursor tracking with calls to kvm.