Update IO print calls and a few typos.