Changed ScrollEditorNextNote to use trackreallines2
Changed ScrollEditorPrevNote to use trackreallines2
Add locks for insertnote and removenote
moved old trackreallines into unused_files