removed unneeded cruft for references headers, removed topmarks
change style to premable