refactored printing to use more testable string functions - and to accomodate exchange rate @@ lot prices