Add ways of setting the selection on Cursor
Testing selections
Fix rendering