Major bug fixes to printing/loading