Fix comments
Fix and update
Fix comments and improve tests
Improve comment
Fix processingof LF. Current_Pos is relative
Fix restore of position after history