lots of small fixes and improvements in bibliography