Separated selection from the cursor position. Can now set and get the selection bounds progrmmatically.