Correct line count in editor status line. Strip trailing blanks from function lines in edit window.