Move batch initial save into thread
Move tree_code uniqueness constraint to db
Duplicate tags are saved with DUP instead of T
Tidy up hunt for success messages
Ignore new lines in file
Fix cn spec file