Removed unnecessary error checking and fixed config printout.