Added new copy constructor.
Bug fixes for invoice/inventory functionality.