Updated the state cursor system. Now takes control of the actual OS level cursor. The switch is handled by the state library.