added cite_order, small tweaks to extractor