Made some printing improvements.