Implemented means for retrieving offset user selection index even when element contains multiple nodes
Implemented means for rendering annotations
Refactored a little