replaced a bunch of print statemenst with calls to a new fn to dump error messages etc. in an array in case we ever care about them