Setting up caret rendering.
Testing and fixing getCursorFromPoint.