Version 2 of exporting sequences, plus other assorted bug fixes