Added wait_for_validation_complete.
Removed select_text.
caret_pos is now caret_screen_pos.
Stop using _raw_caret.
Use setSelectionRange rather than setDOMSelectionRange.