Archive document implemented.
Bug fixes.