Add configurable cursor

Only implemented on Windows, and only partially. Still
need to sort out thread synchronization issues in order
to get cursor up to date, instead of behind by one or two
mouse move messages.