BibFormat: several minor fixes