Fixed error with savestdin not being initialized.