diplomka: fixes and cleanups in the bib-db