Implement hardware cursors.

This adds support for hardware cursors, and enables them by default for a big win in mouse responsiveness.
Can we keep that comment? It seems still unused.