Close Preferences window with esc key
Fix preferred file encoding for encoding detection
Prefer using `firstObject` instead [0] index for sefe
Update defaullt line height
Adjust line ending popup width in toolbar