Cleaned up Editor
Double end-line: first go the visual wrapped ending, then to real ending
Simplify mass lru operations