Working on fixing bugs

Bugs:
Infrequent double link bug (?)
Tables not copied
Images not copied
Objects after tables not copied