Removed some printf statements and "fixed" issue where we didn't fully print error msg