Improved console input.