replacing console.* with system.std[err|out]. reference #162