Small opt on IO.print: not sure
Fix obsolete variable deprecations