Fixed a case of inappropriate error message printing
Implemented better logging for loading data into memory