Fixes error handling
Fixes scrolling on lines with tabs