numerous changes: bibref, localtype, etc...