Added way to set cursor

With a new Cursor resource.
Can be set through Window.