Fixed overflowing terminal messages and extraneous io debug logs.