Improve size calculation of the counter labels, and show the current file's encoding in the statusbar.