Cleanup
Use different cursor shape depending on mode