Bugfixes for line count change

! Update linenr_width upon line count change
! Increase line_screen_pos memory size upon line count increase