Splitting out the Windows-specific cursor code into its own file